const data_key = 'taskMsgs_key';
export default {
  getData() {
    return JSON.parse(window.localStorage.getItem(data_key) || "[]");
  },

  setData(data) {
    window.localStorage.setItem(data_key, JSON.stringify(data))
  }
}
